/*
 * node.cpp
 *
 *  Created on: 15/11/2012
 *      Author: cvan680
 */

#include "node.h"

namespace voreen {

Node::Node(){
	technique_ = TechniqueWrapper();
}
Node::Node(TechniqueWrapper technique){
	technique_ = technique;
}

// getters
TechniqueWrapper Node::getTechnique(){ return technique_; }
string Node::getDescription(){ return technique_.description_; }
string Node::getIdentifier(){ return technique_.identifier_; }
int Node::getUniqueID(){ return technique_.uniqueID_; }

bool Node::equals(Node n){
	return n.getTechnique().identifier_ == technique_.identifier_;
}


}
